package com.spsoft.system.service;

import com.spsoft.system.entity.NvatNegativestream;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 负数流水管理表 服务类
 * </p>
 *
 * @author dingchengyun
 * @since 2024-02-26
 */
public interface NvatNegativestreamService extends IService<NvatNegativestream> {

    /**
     * 根据业务编号查询未处理的负数流水管理数据
     * @param ywbh
     * @return
     */
    List<NvatNegativestream> getByClztYwbh(String ywbh);

    /**
     * 修改负数流水表状态
     * @param wkpRdidList
     * @return
     */
    boolean updateByRdids(List<Long> wkpRdidList, String dataSource);
    boolean rollbackByRdids(List<Long> wkpRdidList);

}
